/*
 * @Author: zhang gen yuan
 * @Date: 2021-09-16 16:37:20
 * @Descripttion: 
 */
import http from '/@/utils/request'

export function getList( data ) {
  return http.request( {
    method: 'get',
    url : '/user/list',
    data
  } )
}
export function getPage( data ) {
  return http.request( {
    method: 'get',
    url : '/user/page',
    data
  } )
}

export function remove( data ) {
  return http.request( {
    method : 'post',
    url : '/user/remove?ids='+data,
  } )
}

export function submit(data) {
  return http.request( {
    url: '/user/submit',
    method: 'post',
    data
  })
}


export function getDetail(data) {
  return http.request( {
    url: '/user/detail?id='+data,
    method: 'get'
  })
}

